package com.fahai.web.dao;

import com.fahai.common.CommonMapper;
import com.fahai.web.entity.LawyerGroupSkill;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by sky on 17/5/15.
 */
@Repository
public interface LawyerGroupSkillDao extends CommonMapper<LawyerGroupSkill> {

    public List<Integer> selectSkillByCondition(@Param(value = "skillId") Integer skillId);

    public void deleteGroupSkill(@Param(value = "lawyerId")Integer lawyerId,@Param(value = "skillType")Integer skillType);

    public void updateGroupSkill(@Param(value = "lawyerId")Integer lawyerId,@Param(value = "skillId") Integer skillId);
}
